<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<jsp:include page="../../common/jsp/taglibs.jsp"/>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>人员详情</title>
    <jsp:include page="../../common/jsp/head.jsp" />
    <link href="${ctx}css/public.css" rel="stylesheet" type="text/css" />
    <style>
        html, body {
            height: 98%;
        }

        .infoDiv {
            margin-top: 9px;
        }

        .blockDiv {
            padding-top: 9px;
        }
    </style>
</head>
<body>
<form class="layui-form">
    <table class="layui-table">
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">用户名：</label>
                    <div class="layui-input-inline infoDiv">
                        <s:property value="user.userName" />
                    </div>
                </div>
            </td>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">登录名：</label>
                    <div class="layui-input-inline infoDiv">
                        <s:property value="user.loginName" />
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <div class="layui-form-item">
                    <label class="layui-form-label">公司：</label>
                    <div class="layui-input-block blockDiv">
                        <s:property value="companyName" />
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">部门：</label>
                    <div class="layui-input-inline infoDiv">
                        <s:property value="groupName" />
                    </div>
                </div>
            </td>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">角色：</label>
                    <div class="layui-input-inline infoDiv">
                        <s:property value="roleName" />
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">手机：</label>
                    <div class="layui-input-inline infoDiv">
                        <s:property value="user.cellphone" />
                    </div>
                </div>
            </td>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">电话：</label>
                    <div class="layui-input-inline infoDiv">
                        <s:property value="user.telephone" />
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">性别：</label>
                    <div class="layui-input-inline infoDiv">
                        <s:if test="user.sex==0">女</s:if><s:else>男</s:else>
                    </div>
                </div>
            </td>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">年龄：</label>
                    <div class="layui-input-inline infoDiv">
                        <s:property value="user.age" />
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <div class="layui-form-item">
                    <label class="layui-form-label">邮箱：</label>
                    <div class="layui-input-block blockDiv">
                        <s:property value="user.email" />
                    </div>
                </div>
            </td>
        </tr>
    </table>
</form>
</body>
</html>
